import request from "@/utils/request";



export const getDetail = params => {
  return request({
    url: '/user/type/detail',  
    params
  })
} 
export const add = data => {
  return request({
    url: '/user/type/add',
    method: 'POST',
    data
  })
} 
 

export const getList = params => {
  return request({
    url: '/user/type/list',  
    params
  })
} 
export const getAllList = params => {
  return request({
    url: '/user/type/alllist',  
    params
  })
} 

export const del = data => {
  return request({
    url: '/user/type/delete',
    method: 'POST',
    data
  })
} 

 

export const edit = data => {
  return request({
    url: '/user/type/edit',
    method: 'POST',
    data
  })
} 
 